Skip to main content

FlowDepartment Constructors

An object defining constructors for the FlowDepartment class.

FlowDepartment(name, workflowData, workflowCodeInstance)

Constructor for the FlowDepartment class. Initializes a new instance of the FlowDepartment class.

Parameters:

name (required): string
The name of the flow object.

workflowData (required): IRuntimeWorkflowData
The workflow data associated with the flow object.

workflowCodeInstance (optional): IWorkflowCode
The optional workflow code instance.


FlowDepartment(name, workflowData, workflowCodeInstance)

Initializes a new instance of the FlowDepartment class.

Parameters:

name (required): string
The name of the workflow step.

workflowData (required): IRuntimeWorkflowData
The runtime workflow data.

workflowCodeInstance (optional): IWorkflowCode
The workflow code instance.